package com.qijian.maindata.domain.query;

import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Set;


/**
 * 工序对象 查询条件类
 *
 * @author qijian
 * @date 2021-09-06
 */

@Data
@ToString
@TableName("fm_process")
public class ProcessQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "code", type = WhereTypeEnum.LIKE)
    private String code;
    @WhereType(filed = "name", type = WhereTypeEnum.LIKE)
    private String name;
    @WhereType(filed = "name")
    private String nameEq;
    @WhereType(filed = "type")
    private String type;
    @WhereType(filed = "prepare_time")
    private BigDecimal prepareTime;
    @WhereType(filed = "norm_time")
    private BigDecimal normTime;
    @WhereType(filed = "work_way")
    private String workWay;
    @WhereType(filed = "test_criterion_id")
    private Long testCriterionId;
    @WhereType(filed = "is_disabled")
    private Boolean isDisabled;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "remark")
    private String remark;
    @WhereType(filed = "id",type = WhereTypeEnum.NEQ)
    private Long fid;

}
